Overview
These tools enable conversion from standard geospatial formats (GeoTIFF, etc.) to specialized formats used in planetary science, 3D visualization, and archival systems.ISIS3 Conversion
Astropedia_gdal2ISIS3.py
Creates ISIS3-compatible cube files (raw with ISIS3 label) from any GDAL-supported image.Path to input GDAL-supported raster
Path to output ISIS3 cube file (.cub)
Print detailed image information during conversion
Generate only the .lbl label file without the image data
Attach the label to the ISIS image (requires ISIS3 installation)
Force longitude system to 360-degree domain
Override the center longitude value
Set the base offset for pixel values
Set the scaling multiplier for pixel values
LMMP_gdal2PDS.py
Simple brute-force script to convert from GDAL-supported formats to PDS3 images with labels. Purpose: Generate PDS3-compliant image files for planetary data archiving. Usage:PDS3 (Planetary Data System version 3) is a NASA standard for archiving and distributing planetary science data.
3D Mesh Conversion
gdal2PLY.py
Generate triangulated 3D mesh (PLY format) from digital elevation models (DEMs).Path to input DEM raster
Path to output .ply mesh file
How It Works
NoData Handling
PLY Format
The output PLY (Polygon File Format) is a widely-supported 3D mesh format:- Binary format: Efficient storage (default)
- Contains: Vertex positions (X, Y, Z) and triangle face definitions
- Compatible with: MeshLab, Blender, CloudCompare, and many 3D viewers
Requirements
- ISIS3 Scripts
- PLY Script
Output File Structures
ISIS3 Cube (.cub)
ISIS3 cubes consist of:Label Section
PVL (Parameter Value Language) metadata describing:
- Image dimensions and data type
- Projection and coordinate system
- Pixel scaling (base + multiplier)
- Processing history
Image Data
Raw binary raster data:
- Tile or band-sequential organization
- Native byte order
- Optional compression
PLY Mesh
Use Cases
ISIS3 Processing
Ingest data into USGS ISIS3 for planetary image processing pipelines
PDS Archiving
Prepare datasets for submission to NASA’s Planetary Data System
3D Visualization
Create interactive 3D terrain meshes from elevation data
Data Sharing
Convert to formats compatible with legacy planetary software
Quality Assurance
Inspect DEMs in 3D mesh viewers for artifacts and anomalies
Web Publishing
Generate lightweight meshes for web-based 3D viewers
Credits
- ISIS3 scripts: Trent Hare, USGS (thare@usgs.gov)
- gdal2PLY.py: Based on work by Jake (GIS StackExchange), modified by Trent Hare
- Original gdalinfo.py authors: Even Rouault, Frank Warmerdam
These tools are provided as-is for planetary science workflows. Always validate output before use in production systems.